<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>Title</title>
</head>
<body>
    <table>
        <tr>
            <td>学生姓名</td>
            <td>学生年龄</td>
            <td>学生性别</td>
        </tr>
        <tr th:each="student,item:${listStudents}">
            <td th:text="${item.current}"></td>
            <td>[[${student.stuName}]]</td>
            <td th:text="${student.age}"></td>
            <td th:text="${student.sex}"></td>
            <td><input type="checkbox" th:checked="${student.sex eq '男'}" name="sex">男
                <input type="checkbox" th:checked="${student.sex eq '女'}" name="sex">女</td>
        </tr>
    </table>
</body>
</html>